<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo SEO('article-list','title',array('CATNEME'=>'全部'));?></title>
<meta name="keywords" content="<?php echo SEO('article-list','keywords');?>">
<meta name="description" content="<?php echo SEO('article-list','description');?>">
<link href="/<?php echo C('UU_TPL_DIR');?>/public/css/article.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="/favicon.ico" />
<link href="/<?php echo C('UU_TPL_DIR');?>/public/css/common.css" rel="stylesheet" type="text/css">
<script src="/<?php echo C('UU_TPL_DIR');?>/public/js/jquery.min.js"></script>
<script src="/<?php echo C('UU_TPL_DIR');?>/public/js/jquery.dialog.js"></script>
<script src="/<?php echo C('UU_TPL_DIR');?>/public/js/common.js"></script>
<script src="/<?php echo C('UU_TPL_DIR');?>/public/js/jquery.disappear.tooltip.js"></script>
<!--[if lt IE 9]>
  <script type="text/javascript" src="/<?php echo C('UU_TPL_DIR');?>/public/js/PIE.js"></script>
  <script type="text/javascript">
    (function($){
        $.pie = function(name, v){
            // 如果没有加载 PIE 则直接终止
            if (! PIE) return false;
            // 是否 jQuery 对象或者选择器名称
            var obj = typeof name == 'object' ? name : $(name);
            // 指定运行插件的 IE 浏览器版本
            var version = 9;
            // 未指定则默认使用 ie10 以下全兼容模式
            if (typeof v != 'number' && v < 9) {
                version = v;
            }
            // 可对指定的多个 jQuery 对象进行样式兼容
            if ($.browser.msie && obj.size() > 0) {
                if ($.browser.version*1 <= version*1) {
                    obj.each(function(){
                        PIE.attach(this);
                    });
                }
            }
        }
    })(jQuery);
    if ($.browser.msie) {
      $.pie('.pie_about');
    };
  </script>
<![endif]-->
<script type="text/javascript">
var ajaxURL="<?php echo RU('ajax/view');?>";
</script>
</head>
<style>
    .sotit {
        width: 120px;
        float: left;
        font-size: 20px;
        padding-top: 35px;
        text-align: right;
        padding-right: 25px;
    }
    .search form{
        width: 430px;
        float: left;
        height: 42px;
        border: 3px #6DBD60 solid;
        background-color: #FFF;
        margin-top: 25px;
        position: relative;
    }
    .so-input{
        border: 0px;
        background-color: #FFFFFF;
        height: 40px;
        width: 380px;
        padding-left: 15px;
    }


    .search .sobtn {
        position: absolute;
        right: -3px;
        top: -3px;
        width: 80px;
        background-color: #6DBD60;
        border: 0px;
        color: #FFFFFF;
        height: 48px;
        font-size: 16px;
        cursor: pointer;
    }
    </style>
<body>

<div class="pagetop">
		<div class="main">
          <div class="welcome link_orange" id="J_welcome">欢迎登录 <?php echo C('UU_SITE_NAME');?>！请 <span><a href="Javascript: void(0)" class="J_user_login">登录</a></span>或<span><a href="Javascript: void(0)" class="J_user_reg">注册</a></span></div>
          <div class="menu link_gray6"><a href="<?php echo C('UU_SITE_DOMAIN');?>/" class="home">网站首页</a>
		  
		  <!-- <a href="#" class="ranking">排行榜</a> <a href="#" class="category">问题分类</a> <a href="#" class="mall">积分商城</a> -->
		   
		   </div>
        	<div class="clear"></div>
        </div>
</div>

<div class="header">
  <div class="logo" style="width: 220px"><a href="/"><img src="http://www.zgxmall.com/data/upload/mall/common/05999185122820637.png"  alt="<?php echo C('UU_SITE_NAME');?>" border="0"/></a></div>
    <!--<div class="sotit">商品</div>-->
    <!--<div class="search" >-->
        <!--<form action="<?php echo RU('article/lists');?>" method="get" id="J_so_from">-->
            <!--<div class="sobox">-->
                <!--<div class="inputbox">-->
                    <!--<input type="text" class="so-input"  name="key"  value="<?php echo ($_REQUEST['key']); ?>" placeholder="请输入关键词">-->
                    <!--<input name="" type="submit" value="搜索" class="sobtn">-->
                <!--</div>-->
            <!--</div>-->
        <!--</form>-->
    <!--</div>-->
    <div class="so"></div>
  <div class="clear"></div>

</div>

<div class="pagenav">
  <div class="navmain link_white">
  <?php $tag_nav_class = new \Common\Taglib\nav();$nav = $tag_nav_class->run(array('listname'=>'nav','cache'=>'0',)); ?>
			<?php if(is_array($nav)): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$nav): $mod = ($i % 2 );++$i;?><div class="li  <?php if($page_as == $nav['pagealias']): ?>select<?php endif; ?>"><a href="<?php echo ($nav["url"]); ?>" target="<?php echo ($nav["target"]); ?>"><?php echo ($nav["title"]); ?></a></div><?php endforeach; endif; else: echo "" ;endif; ?>
    <div class="clear"></div>
  </div>
</div>


<div class="article">

  <div class="arl">
  
  
    <div class="tit">
	
			<h1>文章/经验</h1>
	
			 <form action="<?php echo RU('article/lists');?>" method="get" id="J_so_from">
				 <div class="sobox">
						<div class="inputbox">
							<input type="hidden"  name="m" value="home">
							<input type="hidden"  name="c" value="article">
							<input type="hidden"  name="a" value="lists">
							<input type="hidden"  name="cat" value="<?php echo ($_REQUEST['cat']); ?>">
							<input type="hidden"  name="sort" value="<?php echo ($_REQUEST['sort']); ?>">
						<input type="text" class="so"  name="key"  value="<?php echo ($_REQUEST['key']); ?>" placeholder="请输入关键词">
						<input name="" type="submit" value="" class="btn">
						</div>
			  </div>
		  </form>
		   <script type="text/javascript">
				$("#J_so_from").submit( function () {
				key=$("#J_so_from input[name=key]").val();
				  if (key==''){
//					disapperTooltip("remind","请填写关键字");
//					 return false;
				  }else{
				  return true;	 
				  }
				});
			</script>
		  
	</div>  
	
	
	<?php $tag_cat_class = new \Common\Taglib\cat();$li = $tag_cat_class->run(array('listname'=>'li','type'=>'article','pid'=>'0','cache'=>'0',)); ?>
	<?php if(!empty($li["list"])): ?><div class="anav">
	  	<a class="nli <?php if($_GET['cat']== '' ): ?>select<?php endif; ?>" href="<?php echo RU('article/lists',array('cat'=>''));?>">全部</a>
		
		<?php if(is_array($li["list"])): $i = 0; $__LIST__ = $li["list"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?><a href="<?php echo ($li["aurl"]); ?>" class="nli <?php if($_GET['cat']== $li["c_id"] ): ?>select<?php endif; ?>"><?php echo ($li["c_title"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
		<div class="clear"></div>
	</div><?php endif; ?>
	
			<div class="oder link_gray3">
			  <div class="menus">
				<a  href="<?php echo RU('article/lists',array('sort'=>''));?>" <?php if($_GET['sort']== '' ): ?>class="select"<?php endif; ?>>最新</a>|
				<a  href="<?php echo RU('article/lists',array('sort'=>'hot'));?>" <?php if($_GET['sort']== 'hot' ): ?>class="select"<?php endif; ?>>热门</a>|
				<a  href="<?php echo RU('article/lists',array('sort'=>'exc'));?>" <?php if($_GET['sort']== 'exc' ): ?>class="select"<?php endif; ?>>精华</a>
				</div>
			</div>
			
			
	<!-- -->	
<?php $tag_article_class = new \Common\Taglib\article();$new = $tag_article_class->run(array('listname'=>'new','category1'=>$_GET['cat'],'category2'=>$_GET['cat1'],'page'=>'1','num'=>'5','sort'=>$_GET['sort'],'cache'=>'0',)); ?>
<?php if(is_array($new["list"])): $i = 0; $__LIST__ = $new["list"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?><div class="alist">
			  	<div class="imgbox">
					<a href="<?php echo ($li["url"]); ?>"><img src="<?php echo ($li["img"]); ?>" border="0"></a>
				</div>
			
			  <div class="txtbox">
				  <div class="atit link_gray3">
				  <h4>
				  <?php if($li["excellent"] == '1' ): ?><span class="exc">精华</span><?php endif; ?>
				  <a href="<?php echo ($li["url"]); ?>"><?php echo ($li["title"]); ?></a>
				  </h4>
				  </div>
				  
			      <div class="time link_gray3"><?php echo ($li["addtime_str"]); ?>上传&nbsp;/&nbsp;人气<span class="co"><?php echo ($li["click"]); ?></span>&nbsp;/&nbsp;推荐<span class="co"><?php echo ($li["praise"]); ?></span>
				   <?php if(!empty($li["tags"])): ?><span class="tag">
				 
					<?php if(is_array($li["tags"])): $i = 0; $__LIST__ = $li["tags"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$tagsli): $mod = ($i % 2 );++$i;?><a   href="<?php echo ($tagsli["tagurl"]); ?>" target="_blank"><?php echo ($tagsli["tag"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?> 
					 
				</span><?php endif; ?>
				  </div>
				  
			      <div class="txt"><?php echo ($li["content_cut"]); ?>
				    <div class="userimg"><img src="<?php echo ($li["user"]["avatar"]); ?>" border="0"></div>
				    <div class="username link_gray3 substring"><a href="<?php echo ($li["user"]["user_url"]); ?>" target="_blank"><?php echo ($li["user"]["username"]); ?></a></div>
			      </div>
			  </div>
				<div class="clear"></div>
			</div>
			
			<!-- --><?php endforeach; endif; else: echo "" ;endif; ?>
<?php if(empty($new["list"])): ?><div class="infoempty"> 暂时木有内容呀～～</div><?php endif; ?>

<!-- -->
<div class="uupage"><?php echo ($new["page"]); ?></div>	
<!-- -->
			
  </div>
  <div class="arr">
	<?php if((C('UU_SMS_OPEN') == '1') OR ($_SESSION['uu']['uid']!= '')): ?><a class="btn" href="<?php echo RU('question/add');?>">我要提问</a>
        <a class="btn share" href="<?php echo RU('article/add');?>">分享经验</a>
	<?php else: ?>
		<a class="btn J_user_login" href="javascript:void(0);">我要提问</a>
        <a class="btn share J_user_login" href="javascript:void(0);">分享经验</a><?php endif; ?>
	
	<div class="rec">
          <div class="tit">精华文章</div>

                      <div class="clear"></div>
							<?php $tag_article_class = new \Common\Taglib\article();$new = $tag_article_class->run(array('listname'=>'new','page'=>'0','num'=>'5','sort'=>'exc','cache'=>'0',)); ?>
							<?php if(is_array($new["list"])): $i = 0; $__LIST__ = $new["list"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?><div class="reli link_gray6">
												 <a href="<?php echo ($li["url"]); ?>"><?php echo ($li["title"]); ?></a>
										<div class="pra"><?php echo ($li["praise"]); ?>赞</div>	
										</div><?php endforeach; endif; else: echo "" ;endif; ?>

		</div>
		
	<!--	
		<div class="author">
          <div class="tit">热门作者</div>
      
                      <div class="clear"></div>
					  
		              <div class="autli">
					    <div class="pic"><img src="https://www.ask2.cn/data/attach/topic/topicKVWnNn.jpg" border="0"></div>
						<div class="rtxt">
						  <div class="uname link_gray3"><a href="#">imzwf11111111111</a></div>
						  <div class="count">23 篇文章，885 赞同</div>
						</div>
						 <div class="clear"></div>
					  </div>
					  
					  <div class="autli">
					    <div class="pic"><img src="https://www.ask2.cn/data/attach/topic/topicKVWnNn.jpg" border="0"></div>
						<div class="rtxt">
						  <div class="uname link_gray3"><a href="#">imzwf11111111111</a></div>
						  <div class="count">23 篇文章，885 赞同</div>
						</div>
						 <div class="clear"></div>
					  </div>
					  
					  
					  <div class="autli">
					    <div class="pic"><img src="https://www.ask2.cn/data/attach/topic/topicKVWnNn.jpg" border="0"></div>
						<div class="rtxt">
						  <div class="uname link_gray3"><a href="#">imzwf11111111111</a></div>
						  <div class="count">23 篇文章，885 赞同</div>
						</div>
						 <div class="clear"></div>
					  </div>
					  
					  
					  
					  <div class="autli">
					    <div class="pic"><img src="https://www.ask2.cn/data/attach/topic/topicKVWnNn.jpg" border="0"></div>
						<div class="rtxt">
						  <div class="uname link_gray3"><a href="#">imzwf11111111111</a></div>
						  <div class="count">23 篇文章，885 赞同</div>
						</div>
						 <div class="clear"></div>
					  </div>
					  
					  
					  
					  <div class="autli">
					    <div class="pic"><img src="https://www.ask2.cn/data/attach/topic/topicKVWnNn.jpg" border="0"></div>
						<div class="rtxt">
						  <div class="uname link_gray3"><a href="#">imzwf11111111111</a></div>
						  <div class="count">23 篇文章，885 赞同</div>
						</div>
						 <div class="clear"></div>
					  </div>
					  
				 
		</div> -->
		
    	<div class="tagbox">
          <div class="tit">热议话题</div>
          <div class="more link_gray6"><a href="<?php echo RU('tag/lists');?>">更多></a></div>
                      <div class="clear"></div>
          			  <?php $tag_tag_class = new \Common\Taglib\tag();$tags = $tag_tag_class->run(array('listname'=>'tags','page'=>'0','sort'=>'hot','num'=>'40','cache'=>'0',)); ?>
					 <?php if(is_array($tags["list"])): $i = 0; $__LIST__ = $tags["list"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$tli): $mod = ($i % 2 );++$i;?><a class="tag" href="<?php echo ($tli["url"]); ?>"><?php echo ($tli["tag"]); ?><span>(<?php echo ($tli["count_question"]); ?>)</span></a><?php endforeach; endif; else: echo "" ;endif; ?>
                      <div class="clear"></div>
        </div>
  </div>
  <div class="clear"></div>
  
</div>
































<div class="footernav link_gray6">
<a href="<?php echo C('UU_SITE_DOMAIN');?>/">首页</a>
<?php $tag_intro_class = new \Common\Taglib\intro();$li = $tag_intro_class->run(array('listname'=>'li','cache'=>'0',)); ?>
<?php if(is_array($li["list"])): $i = 0; $__LIST__ = $li["list"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?><span>|</span><a href="<?php echo ($li["url"]); ?>" target="_blank"><?php echo ($li["title"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
</div>  
<div class="footertxt link_gray3">
<a href="http://www.miibeian.gov.cn/" target="_blank"><?php echo C('UU_ICP');?></a>
Powered By <a href="http://www.zgxmall.com" target="_blank"><span class="by">中港星企业服务论坛</span><span class="version"><?php echo C('UU_VERSION');?></span></a>
<?php echo C('UU_COPYRIGHT');?>
<br />
联系地址：深圳市罗湖区人民南路国贸大厦17、19楼&nbsp;&nbsp;&nbsp;&nbsp;联系电话：0755-82211688
 
<div class="statistics"><?php echo C('UU_STATISTICS');?></div>
</div>

</body>
</html>